<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

    <title>Login Page</title>
    <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon">
    <link rel="stylesheet" href="${resource(dir: 'css', file: 'login.css')}" type="text/css">
</head>

<body>
<g:form action="signIn">
    <g:hiddenField name="targetUri" value="${targetUri}"/>
    <fieldset>
        <legend>Log in</legend>
        <label>Login Name</label>
        <g:textField name="username" value="${username}"/>
        <div class="clear"></div>
        <label>Password</label>
        <g:passwordField name="password" value=""/>
        <div class="clear"></div>
        %{--<label>Remember</label>--}%
        %{--<g:checkBox name="rememberMe" value="${rememberMe}"/>--}%
        %{--<div class="clear"></div>--}%
        <br/><br/>
        <g:submitButton name="login" value="Login" style="margin: -20px 0 0 287px;" class="button"/>
        <p class="failed">${flash.message}</p>
    </fieldset>
</g:form>
<g:if env="development">
    <g:render template="/template/developArea"/>
</g:if>
</body>
</html>
